Wrapped authentication methods in try/catch blocks to handle invalid input errors
Merge pull request #517 from firebase/jw-try-catch

Wrapped authentication methods in try/catch blocks to handle invalid inputs