Mail.ru responding with incorrect content-type
header, so you should handle unregistered content-type for JSON response encoding in OAuth2 Library. Add serializer to your config file like:
config :oauth2, serializers: %{
"text/javascript" => Poison,
"application/json" => Poison
}