moved base64 methods from auth_base to utils

and updated smtp_client to use from utils