Base: Fix password not properly being encoded