fixes weird JSON octet issue
AuthManager