moved current auth to auth-basic, now to start encoding