Updating authentication method with base 64 decoding