Added endpoint for changing master password