Initial implementation of getBasicAuth, a *Context helper method
Fixed implementation
Added extra error checking
Merge pull request #1 from pbdeuchler/basic-auth

Basic auth