Added password encoding/decoding methods
Updated configuration loading