throw error if server token name does not match $authProvider.tokenName
fixed saveToken() test