Update to work with jenkins login

I believe this fixes all problems associated with logging in and http://jira.codehaus.org/browse/SONARPLUGINS-3082. Tested with Jenkins 1.554.