Minor fixes in the Apache's password adapter