A study has linked the drug azathioprine, commonly used for a variety of conditions, with skin cancer development.