added debugging for auth

@brandur any thoughts on this?