changed the runtime exception to bad credentials for 500 error
Merge pull request #77 from vksvenkat/master

Core-637 Changed the runtime exception to bad credentials for 500 error